package com.example.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class Columns {
    private String tableCatalog;

    private String tableSchema;

    private String tableName;

    @ExcelProperty(value = "column Name")
    private String columnName;

    private Long ordinalPosition;

    @ExcelProperty(value = "Deafult")
    private String columnDefault;

    @ExcelProperty(value = "Constraint")
    private String isNullable;

    private String dataType;

    private Long characterMaximumLength;

    private Long characterOctetLength;

    private Long numericPrecision;

    private Long numericScale;

    private Long datetimePrecision;

    private String characterSetName;

    private String collationName;

    @ExcelProperty(value = "DATA TYPE")
    private String columnType;

    private String columnKey;

    private String extra;

    private String privileges;

    @ExcelProperty(value = "Description")
    private String columnComment;

    private String generationExpression;
}
